package com.neutech.maplestory.entity;

import com.neutech.maplestory.client.MapleStoryClient;

import java.awt.*;

public class Ground extends AbstractMapleStoryObject {
    
    public Ground(MapleStoryClient msc,int x,int y,int width,int height) {
        this.msc = msc;
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }

    public Ground() {
    }

    @Override
    public void draw(Graphics g) {
        Graphics2D g2 = (Graphics2D)g;  //g是Graphics对象
        g2.setStroke(new BasicStroke(3.0f));
        g.drawRect(x,y,width,height);

    }
}
